import request from '@/utils/request'

// 查询车位费用列表
export function listFeParking(query) {
  return request({
    url: '/life/feParking/list',
    method: 'get',
    params: query
  })
}

// 查询车位费用详细
export function getFeParking(id) {
  return request({
    url: '/life/feParking/' + id,
    method: 'get'
  })
}

// 新增车位费用
export function addFeParking(data) {
  return request({
    url: '/life/feParking',
    method: 'post',
    data: data
  })
}

// 修改车位费用
export function updateFeParking(data) {
  return request({
    url: '/life/feParking',
    method: 'put',
    data: data
  })
}

// 删除车位费用
export function delFeParking(id) {
  return request({
    url: '/life/feParking/' + id,
    method: 'delete'
  })
}
